<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>

</head>
</head>
<body>
<div id="app">
<todayplan></todayplan>
</div>
<!-- 1:引包 -->
<script type="text/javascript" src="../../node_modules/vue/dist/vue.js"></script>
<script type="text/javascript">
  var my_today={
    template:'<div>hellozhengyb</div>'
  };

  Vue.component('todayplan',{
    template:`<div>今天天气好晴朗，处处好时光</div>`
  });

  new Vue({
    el: "#app",
    components:{
      'mytoday':my_today
    },
    template:'<mytoday/>'
  })
</script>
</body>
</html>
